package com.scnu.api.client;

import com.scnu.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "rc-service",contextId = "project-service")
public interface ProjectClient {

    @GetMapping("/project/user-apply")
    Result getUserApplyProjects(@RequestParam(required = true) String type,@RequestParam(required = false) Integer pageNum,@RequestParam(required = false) Integer pageSize);


/*    @GetMapping("/user/logout-time")
    Mono<LocalDateTime> getUserLogoutTime(@RequestParam("userId") Long userId);*/




}
